#include <cstdio>
#include <cmath>

// f(x) = ax^3+bx^2+cx+d
double f(double x, double a, double b, double c, double d)
{
    return a * x * x * x + b * x * x + c * x + d;
}

void Solution(double a, double b, double c, double d)
{
    for (double i = -100; i <= 100; i++)
    {
        // 先检查根是不是在大小为1的区间里，不是直接跳过
        double low = i, high = i + 1;
        if (f(low, a, b, c, d) * f(high, a, b, c, d) <= 0)
        {
            while ((fabs(low - high)) >= 0.0001)
            {
                double mid = (low + high) / 2;
                if (f(low, a, b, c, d) * f(mid, a, b, c, d) <= 0)
                    high = mid;
                else
                    low = mid;
            }
            printf("%.2lf ", low);
        }
    }
}

int main()
{
    Solution(7, 65, -43, -5);
    return 0;
}